Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reflects search value from URL in table search #149

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

agnlez
Copy link
Member

@agnlez agnlez commented Dec 10, 2024

This pull request includes changes to the search functionality in the client/src directory. The main updates involve adding a defaultValue prop to the Search component and ensuring that this value is properly utilized in the SearchProjectsTable component.

Changes to Search component:

  • client/src/components/ui/search.tsx: Added a defaultValue prop to the Search component and updated the useState hook to initialize the state with defaultValue instead of an empty string.

Changes to SearchProjectsTable component:

@agnlez agnlez self-assigned this Dec 10, 2024
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tnc-blue-carbon-cost-tool-ghps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:12pm

@agnlez agnlez merged commit 43f1156 into dev Dec 10, 2024
3 checks passed
@agnlez agnlez deleted the fix/client/reflect-search-value branch December 10, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant